import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

//修改 根节点字体大小
import 'lib-flexible'
import fastclick from 'fastclick'
fastclick.attach(document.body) //解决移动端点击300ms延时

import {
  Button, Card, Tabbar, TabbarItem, Icon, Swipe,
  SwipeItem, Image as VanImage, Field, Toast, SwipeCell, Checkbox, Stepper, SubmitBar
} from 'vant';
Vue.use(Button).use(Card).use(Tabbar).use(TabbarItem).use(Icon).use(Swipe).use(SwipeItem)
  .use(VanImage).use(Field).use(Toast).use(SwipeCell).use(Checkbox).use(Stepper).use(SubmitBar)

Vue.config.productionTip = false;
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
